package com.sailfish.springbootdemo.service.db1;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db1.UpkeepHistory;

import java.util.List;

public interface UpkeepHistoryService {

    List<UpkeepHistory> getUpkeepHistoryByAssetNumber(String assetNumber, String statusStr, Integer upkeepType, Integer pcbaCompanyId, Integer isCurrent, String searchValue);

    /**
     * 更新
     *
     * @param upkeepHistory
     * @return
     */
    Result updateUpkeepHistory(UpkeepHistory upkeepHistory);
}
